﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace AppleAutoBuy.Model
{
    [XmlRoot("root")]
    public class AppleData
    {
        [XmlArray("users")]
        [XmlArrayItem("user")]
        public List<AppleUser> Users
        { get; set; }

        [XmlArray("products")]
        [XmlArrayItem("product")]
        public List<Product> Products
        { get; set; }

        [XmlArray("stores")]
        [XmlArrayItem("store")]
        public List<Store> Stores
        { get; set; }

        [XmlElement("starturl")]
        public string StartUrl
        { get; set; }

        [XmlElement("runtype")]
        public string RunType
        { get; set; }
    }
}
